package com.ymatou.iapi.coupon.parameter;

import java.math.BigDecimal;
import java.util.List;

public class BestGetProductUsableBatchResp {
	private Integer sellerId;
	private Integer batchId;
	private String batchCode;
    private Integer userReceivedCount;
	private BigDecimal couponValue;
	private BigDecimal minOrderValue;
	private String validStart;
	private String validEnd;
    private String acquireStartTime;
    private String acquireEndTime;
    /**
     * 有效期类型 
     * 0 绝对有效期
     * 1 相对有效期
     */
	private Integer effectiveType;
	/**
	 * 相对有效期时间单位 
	 * 0 按天算相对时间
	 * 1 按小时算相对时间
	 */
    public Integer effectiveTimeUnit;    
    private Integer effectiveDuration;
    /**
     * 	相对有效期生效方式 
     * 0 立即生效
     * 1 隔天生效
     */
    private Integer effectiveValidType;
	private Integer receiveTimesPerUser;
	/**
	 * 使用条件类型
	 * 0通用 1指定买手  2指定商品   3指定活动  4指定分类  5指定国家 6指定品牌  7指定国家加分类  8指定Psp商品可用  9指定开团者使用(团购商品并且是团购发起者本人才能使用) 10指定品牌 + 活动 11仅直播商品可用
	 */
    private Integer useConditionType;
    /**
     * 允许的分类Id
     */
    private List<Integer> allowCategoryIds;
    /**
     * 允许的国家Id
     */
    private List<Integer> allowCountryIds;
    /**
     * 允许的活动ID
     */
    private List<Integer> allowActivityIds;
    /**
     * 允许的品牌ID
     */
    private List<Integer> allowBrandIds;

    
    /**
     * 优惠券可用的商品Id列表，如果限制类型是指定商品则不返回，因为一般会设置很多商品，其它的限制条件则返回
     */
    
	public Integer getSellerId() {
		return sellerId;
	}
	public void setSellerId(Integer sellerId) {
		this.sellerId = sellerId;
	}
	public Integer getBatchId() {
		return batchId;
	}
	public void setBatchId(Integer batchId) {
		this.batchId = batchId;
	}
	public String getBatchCode() {
		return batchCode;
	}
	public void setBatchCode(String batchCode) {
		this.batchCode = batchCode;
	}
	public BigDecimal getMinOrderValue() {
		return minOrderValue;
	}
	public void setMinOrderValue(BigDecimal minOrderValue) {
		this.minOrderValue = minOrderValue;
	}
	public BigDecimal getCouponValue() {
		return couponValue;
	}
	public void setCouponValue(BigDecimal couponValue) {
		this.couponValue = couponValue;
	}
	public Integer getEffectiveType() {
		return effectiveType;
	}
	public void setEffectiveType(Integer effectiveType) {
		this.effectiveType = effectiveType;
	}
	public String getValidStart() {
		return validStart;
	}
	public void setValidStart(String validStart) {
		this.validStart = validStart;
	}
	public String getValidEnd() {
		return validEnd;
	}
	public void setValidEnd(String validEnd) {
		this.validEnd = validEnd;
	}
	public Integer getReceiveTimesPerUser() {
		return receiveTimesPerUser;
	}
	public void setReceiveTimesPerUser(Integer receiveTimesPerUser) {
		this.receiveTimesPerUser = receiveTimesPerUser;
	}
	public Integer getEffectiveTimeUnit() {
		return effectiveTimeUnit;
	}
	public void setEffectiveTimeUnit(Integer effectiveTimeUnit) {
		this.effectiveTimeUnit = effectiveTimeUnit;
	}
	public Integer getEffectiveDuration() {
		return effectiveDuration;
	}
	public void setEffectiveDuration(Integer effectiveDuration) {
		this.effectiveDuration = effectiveDuration;
	}
	
	public Integer getUseConditionType() {
		return useConditionType;
	}
	public void setUseConditionType(Integer useConditionType) {
		this.useConditionType = useConditionType;
	}
	public Integer getUserReceivedCount() {
		return userReceivedCount;
	}
	public void setUserReceivedCount(Integer userReceivedCount) {
		this.userReceivedCount = userReceivedCount;
	}
	
	public Integer getEffectiveValidType() {
		return effectiveValidType;
	}
	public void setEffectiveValidType(Integer effectiveValidType) {
		this.effectiveValidType = effectiveValidType;
	}
	
	public String getAcquireStartTime() {
		return acquireStartTime;
	}
	public void setAcquireStartTime(String acquireStartTime) {
		this.acquireStartTime = acquireStartTime;
	}
	
	public String getAcquireEndTime() {
		return acquireEndTime;
	}
	public void setAcquireEndTime(String acquireEndTime) {
		this.acquireEndTime = acquireEndTime;
	}
	
    public List<Integer> getAllowCategoryIds() {
        return allowCategoryIds;
    }
    public void setAllowCategoryIds(List<Integer> allowCategoryIds) {
        this.allowCategoryIds = allowCategoryIds;
    }
    
    
    public List<Integer> getAllowCountryIds() {
        return allowCountryIds;
    }
    public void setAllowCountryIds(List<Integer> allowCountryIds) {
        this.allowCountryIds = allowCountryIds;
    }
    
    
    public List<Integer> getAllowActivityIds() {
        return allowActivityIds;
    }
    public void setAllowActivityIds(List<Integer> allowActivityIds) {
        this.allowActivityIds = allowActivityIds;
    }
    
    public List<Integer> getAllowBrandIds() {
        return allowBrandIds;
    }
    public void setAllowBrandIds(List<Integer> allowBrandIds) {
        this.allowBrandIds = allowBrandIds;
    }
}
